SftTree/OCX 7.0

SftTreeCell.ProgressValue Property

Softel vdm, Inc.

Defines the cell's progress bar value.

Syntax       

 

Get

VB.NET

Value = object.ProgressValue  As Integer

VB

Value = object.ProgressValue  As Long

C#.NET

int Value = object.ProgressValue;

VC++

long Value = object->ProgressValue;
long Value = object->GetProgressValue();

C

HRESULT object->get_ProgressValue(long* Value);

Delphi

Value := object.ProgressValue   : Integer;

Put

VB.NET

object.ProgressValue = Value  As Integer

VB

object.ProgressValue = Value  As Long

C#.NET

int object.ProgressValue = Value;

VC++

long object->ProgressValue = Value;
void object->PutProgressValue(long Value);

C

HRESULT object->put_ProgressValue(long Value);

Delphi

object.ProgressValue := Value   : Integer;

object

A SftTreeCell object.

Value

Defines the cell's background progress bar value (between 0 and Cell.ProgressMax, inclusive).

Comments

The ProgressValue property defines the cell's background progress bar value.

The progress bar is rendered as cell background, with the cell text and image displayed in the cell as usual. For a partial height progress bar, the cell background is also rendered using the defined background colors.

The ProgressValue property defines the current value (between 0 and Cell.ProgressMax, inclusive) of the progress bar and the progress bar is rendered proportionally to the size of the cell.

The progress bar for a cell is rendered using the colors defined with the Cell.ProgressColor and Cell.ProgressColorEnd properties. The orientation of the gradient fill can be defined using the Cell.ProgressColorOrientation property. The appearance of the progress bar can be defined with the Cell.ProgressStyle property.

A progress bar is only shown for the cell if its Cell.ProgressMax property is set to a value other than 0.

See Also  SftTreeCell Object | Object Hierarchy


Feedback / comments / error reports for this topic
© 2015 - Softel vdm, Inc. - www.softelvdm.com